package com.css.crm.dao;

import java.util.List;

import com.css.crm.vo.QuestionnaireSendVo;

/**
 * Interface for DAO on table VP_QUEST_SEND
 * @author ais
 *
 */
public interface QuestionnaireSendDao extends BaseDao {

/**
	 * Get QuestionnaireSendVo record by QuestionnaireSendVo object
	 * 
	 * @param QuestionnaireSendVo object
	 *            QuestionnaireSendVo object to specific record to be retrieved
	 * @return Unique QuestionnaireAnswer record
	 */
	QuestionnaireSendVo getQuestionnaireSendById(QuestionnaireSendVo vo);

	/**
	 * Delete QuestionnaireAnswer by QuestionnaireAnswer object
	 * 
	 * @param QuestionnaireSendVo vo
	 *            QuestionnaireAnswer object to specific record to be deleted
	 * @return Row count affected
	 */
	int deleteQuestionnaireSendById(QuestionnaireSendVo vo);

	/**
		 * Create QuestionnaireSendVo record
		 * 
		 * @param QuestionnaireSendVo
		 *            QuestionnaireSendVo object
		 * @return Row count affected
		 */
	int insertQuestionnaireSend(QuestionnaireSendVo vo);

	/**
		 * Update QuestionnaireSendVo record
		 * 
		 * @param QuestionnaireSendVo
		 *            Updated QuestionnaireSendVo object
		 * @return Row count affected
		 */
	int updateQuestionnaireSend(QuestionnaireSendVo vo);

	/**
	 * Get QuestionnaireSendVo by QuestionnaireSendVo obj
	 * 
	 * @param QuestionnaireSendVo
	 *            Object QuestionnaireSendVo to specific record to be retrieved
	 * @return Collection QuestionnaireSendVo record
	 */
	List<QuestionnaireSendVo> getQuestionnaireSend(QuestionnaireSendVo vo);

}
